package com.bestow.lease.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 商业伙伴银行账户信息对象 hls_bp_master_bank_account
 * 
 * @author liliu
 * @date 2022-09-26
 */
public class HlsBpMasterBankAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银行账户ID / PK */
    private Long bankAccountId;

    /** 商业伙伴ID */
    @Excel(name = "商业伙伴ID")
    private Long bpId;

    /** 帐号 */
    @Excel(name = "帐号")
    private String bankAccountNum;

    /** 账户代码 */
    @Excel(name = "账户代码")
    private String bankAccountCode;

    /** 账户名 */
    @Excel(name = "账户名")
    private String bankAccountName;

    /** 币种 */
    @Excel(name = "币种")
    private String currency;

    /** 启用标志 */
    @Excel(name = "启用标志")
    private String enabledFlag;

    /** 银行全程 */
    @Excel(name = "银行全程")
    private String bankFullName;

    /** 支行名称 */
    @Excel(name = "支行名称")
    private String bankBranchName;

    /** 分/支行ID */
    @Excel(name = "分/支行ID")
    private Long bankBranchId;

    /** 国家 */
    @Excel(name = "国家")
    private Long countryId;

    /** 省 */
    @Excel(name = "省")
    private Long provinceId;

    /** 市 */
    @Excel(name = "市")
    private Long cityId;

    /** 区县 */
    @Excel(name = "区县")
    private Long districtId;

    /** $column.columnComment */
    private String refV01;

    /** $column.columnComment */
    private String refV02;

    /** $column.columnComment */
    private String refV03;

    /** $column.columnComment */
    private String refV04;

    /** $column.columnComment */
    private String refV05;

    /** $column.columnComment */
    private Long refN01;

    /** $column.columnComment */
    private Long refN02;

    /** $column.columnComment */
    private Long refN03;

    /** $column.columnComment */
    private Long refN04;

    /** $column.columnComment */
    private Long refN05;

    /** $column.columnComment */
    private Date refD01;

    /** $column.columnComment */
    private Date refD02;

    /** $column.columnComment */
    private Date refD03;

    /** $column.columnComment */
    private Date refD04;

    /** $column.columnComment */
    private Date refD05;

    /** 贷款账户 */
    @Excel(name = "贷款账户")
    private String loanAccount;

    /** 回款账户 */
    @Excel(name = "回款账户")
    private String paymentAccount;

    /** 结算账户 */
    @Excel(name = "结算账户")
    private String balanceAccount;

    /** 账户用途 */
    @Excel(name = "账户用途")
    private String bankAccountApplication;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tssBankCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tssBankNum;

    /** 账户性质 */
    @Excel(name = "账户性质")
    private String accountNature;

    /** 大额行号 */
    @Excel(name = "大额行号")
    private String cnapsCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String swiftCode;

    /** 开户日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开户日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date accountStartDate;

    /** 销户日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销户日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date accountEndDate;

    public void setBankAccountId(Long bankAccountId) 
    {
        this.bankAccountId = bankAccountId;
    }

    public Long getBankAccountId() 
    {
        return bankAccountId;
    }
    public void setBpId(Long bpId) 
    {
        this.bpId = bpId;
    }

    public Long getBpId() 
    {
        return bpId;
    }
    public void setBankAccountNum(String bankAccountNum) 
    {
        this.bankAccountNum = bankAccountNum;
    }

    public String getBankAccountNum() 
    {
        return bankAccountNum;
    }
    public void setBankAccountCode(String bankAccountCode) 
    {
        this.bankAccountCode = bankAccountCode;
    }

    public String getBankAccountCode() 
    {
        return bankAccountCode;
    }
    public void setBankAccountName(String bankAccountName) 
    {
        this.bankAccountName = bankAccountName;
    }

    public String getBankAccountName() 
    {
        return bankAccountName;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }
    public void setBankFullName(String bankFullName) 
    {
        this.bankFullName = bankFullName;
    }

    public String getBankFullName() 
    {
        return bankFullName;
    }
    public void setBankBranchName(String bankBranchName) 
    {
        this.bankBranchName = bankBranchName;
    }

    public String getBankBranchName() 
    {
        return bankBranchName;
    }
    public void setBankBranchId(Long bankBranchId) 
    {
        this.bankBranchId = bankBranchId;
    }

    public Long getBankBranchId() 
    {
        return bankBranchId;
    }
    public void setCountryId(Long countryId) 
    {
        this.countryId = countryId;
    }

    public Long getCountryId() 
    {
        return countryId;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }
    public void setRefV01(String refV01) 
    {
        this.refV01 = refV01;
    }

    public String getRefV01() 
    {
        return refV01;
    }
    public void setRefV02(String refV02) 
    {
        this.refV02 = refV02;
    }

    public String getRefV02() 
    {
        return refV02;
    }
    public void setRefV03(String refV03) 
    {
        this.refV03 = refV03;
    }

    public String getRefV03() 
    {
        return refV03;
    }
    public void setRefV04(String refV04) 
    {
        this.refV04 = refV04;
    }

    public String getRefV04() 
    {
        return refV04;
    }
    public void setRefV05(String refV05) 
    {
        this.refV05 = refV05;
    }

    public String getRefV05() 
    {
        return refV05;
    }
    public void setRefN01(Long refN01) 
    {
        this.refN01 = refN01;
    }

    public Long getRefN01() 
    {
        return refN01;
    }
    public void setRefN02(Long refN02) 
    {
        this.refN02 = refN02;
    }

    public Long getRefN02() 
    {
        return refN02;
    }
    public void setRefN03(Long refN03) 
    {
        this.refN03 = refN03;
    }

    public Long getRefN03() 
    {
        return refN03;
    }
    public void setRefN04(Long refN04) 
    {
        this.refN04 = refN04;
    }

    public Long getRefN04() 
    {
        return refN04;
    }
    public void setRefN05(Long refN05) 
    {
        this.refN05 = refN05;
    }

    public Long getRefN05() 
    {
        return refN05;
    }
    public void setRefD01(Date refD01) 
    {
        this.refD01 = refD01;
    }

    public Date getRefD01() 
    {
        return refD01;
    }
    public void setRefD02(Date refD02) 
    {
        this.refD02 = refD02;
    }

    public Date getRefD02() 
    {
        return refD02;
    }
    public void setRefD03(Date refD03) 
    {
        this.refD03 = refD03;
    }

    public Date getRefD03() 
    {
        return refD03;
    }
    public void setRefD04(Date refD04) 
    {
        this.refD04 = refD04;
    }

    public Date getRefD04() 
    {
        return refD04;
    }
    public void setRefD05(Date refD05) 
    {
        this.refD05 = refD05;
    }

    public Date getRefD05() 
    {
        return refD05;
    }
    public void setLoanAccount(String loanAccount) 
    {
        this.loanAccount = loanAccount;
    }

    public String getLoanAccount() 
    {
        return loanAccount;
    }
    public void setPaymentAccount(String paymentAccount) 
    {
        this.paymentAccount = paymentAccount;
    }

    public String getPaymentAccount() 
    {
        return paymentAccount;
    }
    public void setBalanceAccount(String balanceAccount) 
    {
        this.balanceAccount = balanceAccount;
    }

    public String getBalanceAccount() 
    {
        return balanceAccount;
    }
    public void setBankAccountApplication(String bankAccountApplication) 
    {
        this.bankAccountApplication = bankAccountApplication;
    }

    public String getBankAccountApplication() 
    {
        return bankAccountApplication;
    }
    public void setTssBankCode(String tssBankCode) 
    {
        this.tssBankCode = tssBankCode;
    }

    public String getTssBankCode() 
    {
        return tssBankCode;
    }
    public void setTssBankNum(String tssBankNum) 
    {
        this.tssBankNum = tssBankNum;
    }

    public String getTssBankNum() 
    {
        return tssBankNum;
    }
    public void setAccountNature(String accountNature) 
    {
        this.accountNature = accountNature;
    }

    public String getAccountNature() 
    {
        return accountNature;
    }
    public void setCnapsCode(String cnapsCode) 
    {
        this.cnapsCode = cnapsCode;
    }

    public String getCnapsCode() 
    {
        return cnapsCode;
    }
    public void setSwiftCode(String swiftCode) 
    {
        this.swiftCode = swiftCode;
    }

    public String getSwiftCode() 
    {
        return swiftCode;
    }
    public void setAccountStartDate(Date accountStartDate) 
    {
        this.accountStartDate = accountStartDate;
    }

    public Date getAccountStartDate() 
    {
        return accountStartDate;
    }
    public void setAccountEndDate(Date accountEndDate) 
    {
        this.accountEndDate = accountEndDate;
    }

    public Date getAccountEndDate() 
    {
        return accountEndDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bankAccountId", getBankAccountId())
            .append("bpId", getBpId())
            .append("bankAccountNum", getBankAccountNum())
            .append("bankAccountCode", getBankAccountCode())
            .append("bankAccountName", getBankAccountName())
            .append("currency", getCurrency())
            .append("enabledFlag", getEnabledFlag())
            .append("bankFullName", getBankFullName())
            .append("bankBranchName", getBankBranchName())
            .append("bankBranchId", getBankBranchId())
            .append("countryId", getCountryId())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("districtId", getDistrictId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("refV01", getRefV01())
            .append("refV02", getRefV02())
            .append("refV03", getRefV03())
            .append("refV04", getRefV04())
            .append("refV05", getRefV05())
            .append("refN01", getRefN01())
            .append("refN02", getRefN02())
            .append("refN03", getRefN03())
            .append("refN04", getRefN04())
            .append("refN05", getRefN05())
            .append("refD01", getRefD01())
            .append("refD02", getRefD02())
            .append("refD03", getRefD03())
            .append("refD04", getRefD04())
            .append("refD05", getRefD05())
            .append("loanAccount", getLoanAccount())
            .append("paymentAccount", getPaymentAccount())
            .append("balanceAccount", getBalanceAccount())
            .append("bankAccountApplication", getBankAccountApplication())
            .append("tssBankCode", getTssBankCode())
            .append("tssBankNum", getTssBankNum())
            .append("accountNature", getAccountNature())
            .append("cnapsCode", getCnapsCode())
            .append("swiftCode", getSwiftCode())
            .append("accountStartDate", getAccountStartDate())
            .append("accountEndDate", getAccountEndDate())
            .toString();
    }
}
